package com.tiantian.app.data.mo;

import java.util.Date;

import org.json.JSONObject;

import com.infindo.frame.data.mo.MoliscMessage;

 
/**
 * 用户信息类
 * @author colky
 *
 */

public class UserObj extends MoliscMessage{

    /**
	 * 
	 */
	private static final long serialVersionUID = 5021191550550659471L;


    /**以下参考User表**/

    private Integer id;
    /**用户名，在本系统中是手机号码**/
    private String userName;
    
    /**昵称**/
    private String nickName;
    //private String password;
    
    /**电子邮件**/
    private String email;
    
    /**身份证号**/
    private String idNo;
    /**真实姓名**/
    private String trueName;
    /**性别**/
    private String sex;
    /**头像**/
    private String avatarPic;
    /**生日，格式：yyyy-MM-dd HH:mm:ss Z **/
    private String birthdayStr;

    /**住址**/
    private String address;
    /**签名图片**/
    private String signPic;
    /**是否第一次登陆，第一次登陆的话为0，这个时候需要显示修改密码页面。**/
    private Integer loginFlag;
    /**老师状态，只是对象为老师时有用**/
    private String teacherStatus;
    

    //private String avatarPicType;
    //一下字段仅仅用于返回该类的时候
    /**结果，１成功，０失败**/
    //private Integer result;
    /**注册结果消息：参考EnumConstant.MessageCode**/
    //private String result;
    
    /**图片类型，例如 JPG,PNG**/
    private String picType;
    /**是否是老师**/
    private Integer teacherFlag;
    
    /**是否是校长**/
    private Integer masterFlag;

    
    



    public Integer getTeacherFlag() {
        return teacherFlag;
    }



    public void setTeacherFlag(Integer teacherFlag) {
        this.teacherFlag = teacherFlag;
    }



    public Integer getMasterFlag() {
        return masterFlag;
    }



    public void setMasterFlag(Integer masterFlag) {
        this.masterFlag = masterFlag;
    }



    public String getPicType() {
        return picType;
    }



    public void setPicType(String picType) {
        this.picType = picType;
    }

 

    public Integer getId() {
        return id;
    }


    public void setId(Integer id) {
        this.id = id;
    }


    public String getUserName() {
        return userName;
    }


    public void setUserName(String userName) {
        this.userName = userName;
    }


    public String getNickName() {
        return nickName;
    }


    public void setNickName(String nickName) {
        this.nickName = nickName;
    }



    public String getEmail() {
        return email;
    }


    public void setEmail(String email) {
        this.email = email;
    }


    public String getIdNo() {
        return idNo;
    }


    public void setIdNo(String idNo) {
        this.idNo = idNo;
    }


    public String getTrueName() {
        return trueName;
    }


    public void setTrueName(String trueName) {
        this.trueName = trueName;
    }


    public String getSex() {
        return sex;
    }


    public void setSex(String sex) {
        this.sex = sex;
    }


    public String getAvatarPic() {
        return avatarPic;
    }


    public void setAvatarPic(String avatarPic) {
        this.avatarPic = avatarPic;
    }

    public String getBirthdayStr() {
        return birthdayStr;
    }



    public void setBirthdayStr(String birthdayStr) {
        this.birthdayStr = birthdayStr;
    }



    public String getAddress() {
        return address;
    }


    public void setAddress(String address) {
        this.address = address;
    }


    public String getSignPic() {
        return signPic;
    }


    public void setSignPic(String signPic) {
        this.signPic = signPic;
    }


    public Integer getLoginFlag() {
        return loginFlag;
    }


    public void setLoginFlag(Integer loginFlag) {
        this.loginFlag = loginFlag;
    }


    public String getTeacherStatus() {
        return teacherStatus;
    }


    public void setTeacherStatus(String teacherStatus) {
        this.teacherStatus = teacherStatus;
    }



	/* (non-Javadoc)
	 * @see com.infindo.frame.data.mo.MoliscMessage#toObject(org.json.JSONObject)
	 */
	@Override
	public void toObject(JSONObject jsonObj) {
		// TODO Auto-generated method stub
		
	}



	/* (non-Javadoc)
	 * @see com.infindo.frame.data.mo.MoliscMessage#toObject(org.json.JSONObject, java.lang.String)
	 */
	@Override
	public void toObject(JSONObject jsonObj, String cmsListParameters) {
		// TODO Auto-generated method stub
		
	}

}
